export const getCount = state => {
    return state.count
}

export const getBallOrderList = state => {
    return state.ballOrderList;
}
export const getMerchant = state => {
    let storage = window.localStorage;
    if ((storage.merchantInfo || '') != '') {
        state.merchantInfo = JSON.parse(storage.merchantInfo)
        return state.merchantInfo;
    } else {
        return state.merchantInfo;
    }

}

export const getLoginStatus = state => {
    let storage = window.localStorage;
    if ((storage.LoginStatus || '') != '') {
        state.LoginStatus = JSON.parse(storage.LoginStatus)
        return state.LoginStatus;
    } else {
        return state.LoginStatus;
    }

}
export const getTenanceData = state => {
	return state.tenanceData;
}
export const getTructionData = state => {
	return state.tructionData;
}
export const getLoginName = state => {
	return state.loginName;
}

